[#assign title]注册[/#assign]
[#include "/common/_layout.html"/]
[#macro style]
<style></style>
[/#macro]
[#macro body]
<div class="row">
    <div class="col-12">
        <h4>注册方法</h4>
        <ul v-if="wechat">
            <li>长按并识别图中二维码</li>
        </ul>
        <ol v-if="!wechat">
            <li>保存下方二维码到手机相册</li>
            <li>进入微信『扫一扫』</li>
            <li>在扫一扫界面点击右上角『相册』</li>
            <li>从相册中选取刚才保存的二维码</li>
        </ol>
    </div>
    <div class="col-10 offset-1">
        <img class="img-thumbnail" src="/static/images/qrcode.jpg" width="100%" alt="微信公众号"/>
    </div>
</div>
[/#macro]
[#macro script]
<script>
    var app = new Vue({
        el: '#app',
        data: {
            wechat: (window.navigator.userAgent || '').toLowerCase().indexOf('wechat') > 0
        }
    });
</script>
[/#macro]
